#ifndef __SCNS_ZF_DM1RA_H__
#define __SCNS_ZF_DM1RA_H__

#include "ScnsConfig.h"

#if (defined(SCNS_ZF_DM1RA_ENABLE)&&SCNS_ZF_DM1RA_ENABLE==1)||(defined(SCNS_ZF_DM1RA_VIRTUAL_ENABLE)&&SCNS_ZF_DM1RA_VIRTUAL_ENABLE==1)

#include "ScnsYing.h"
#include "ScnsBspZfDm1ra.h"

typedef struct
{
    uint64 lastUs;
    float dis;  //m
}ScnsZfDm1raResult;

extern ScnsZfDm1raResult scnsZfDm1raResult[SCNS_ZF_DM1RA_MAX];

#endif

#if defined(SCNS_ZF_DM1RA_ENABLE)&&SCNS_ZF_DM1RA_ENABLE==1
extern ScnsStatus scnsZfDm1raInit(ScnsZfDm1raEnum zfN);
extern void scnsZfDm1raInterruptL(ScnsZfDm1raEnum zfN);
extern void scnsZfDm1raInterruptS(ScnsZfDm1raEnum zfN);
#endif
#endif
